package cn.shop.core.dao;

import cn.shop.core.bean.GoodsInfo;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * Created by Administrator on 2016/8/26.
 */
@Service
public interface GoodsDAO {
    public int add(GoodsInfo goods);
    public List<Map> getList(GoodsInfo goods);
    public Long getCount(GoodsInfo goods);
    public Map getGoods(GoodsInfo goods);
    public int update(GoodsInfo goods);
    public void  delete(GoodsInfo goods);

}
